package singleton;

/**
 * FileName: ExectorThread
 * Author:   周壮
 * Date:     2020/3/5 10:54
 * Description:
 */
public class ExectorThread implements Runnable {
    @Override
    public void run() {

//        LazySimpleSingleton singleton = LazySimpleSingleton.getInstance();
        LazyDoubleCheckSingleton singleton = LazyDoubleCheckSingleton.getInstance();
        System.out.println(Thread.currentThread().getName() + ":" + singleton);
    }
}
